//
//  OrderDetailViewModel.h
//  didacar
//
//  Created by 度周末网络-王腾 on 16/1/12.
//  Copyright © 2016年 dzmmac. All rights reserved.
//

#import "BaseViewModel.h"
#import "OrderDetailRegularBusModel.h"
#import "CalendarDayModel.h"

@interface OrderDetailViewModel : BaseViewModel

@property (nonatomic , assign) NSInteger TicketOrderId;

// 日票退款数组
@property (nonatomic , strong) NSMutableArray *dayRefundTickets;


// 班车详情数据
@property (nonatomic , strong) OrderDetailRegularBusModel *orderDetailRegularBusModel;


/**
 *  获取班车订单详情
 *
 *  @param resultBlock
 */
-(void)getOrderDetailRegularBusData:(DealDataResultBlock)resultBlock;

/**
 *  获取直通车订单详情
 *
 *  @param resultBlock
 */
-(void)getOrderDetailThroughBusData:(DealDataResultBlock)resultBlock;

/**
 *  退款
 *
 *  @param resultBlock
 */
-(void)refundTicket:(DealDataResultBlock)resultBlock;

-(NSMutableArray *)getThroughBusLineDateList;

/**
 *  取消订单
 *
 *  @param resultBlock <#resultBlock description#>
 */
-(void)cancelOrder:(DealDataResultBlock)resultBlock;

@end
